package com.aiobc.business.appInfo.domain;

import com.aiobc.common.core.annotation.Excel;
import com.aiobc.common.core.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * APP审批对象 app_approval
 *
 * @author ruoyi
 * @date 2021-10-20
 */
@Data
@ApiModel(value = "APP审批信息")
@TableName("app_approval")
public class AppApproval  {
    /**
     * 审批ID
     */
    @Excel(name = "审批ID")
    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "审批ID")
    private String approvalId;

    /**
     * 数据ID
     */
    @Excel(name = "数据ID")
    @ApiModelProperty(value = "数据ID")
    private String dataId;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    @ApiModelProperty(value = "用户ID")
    private String userId;

    /**
     * 用户IP
     */
    @Excel(name = "用户IP")
    @ApiModelProperty(value = "用户IP")
    private String userIp;

    /**
     * 用户描述
     */
    @Excel(name = "用户描述")
    @ApiModelProperty(value = "用户描述")
    private String userDesc;

    /**
     * 是否有效
     */
    @Excel(name = "是否有效")
    @ApiModelProperty(value = "是否有效")
    private String isValid;

    /**
     * 处理人
     */
    @ApiModelProperty(value = "处理人")
    @Excel(name = "处理人")
    private String handerId;

    /**
     * 处理状态
     */
    @ApiModelProperty(value = "处理状态")
    @Excel(name = "处理状态")
    private String handStatus;

    /**
     * 处理时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "处理时间")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date handTime;

    /**
     * 乐观锁
     */
    @ApiModelProperty(value = "乐观锁")
    @Excel(name = "乐观锁")
    private String revision;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    @Excel(name = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    @Excel(name = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;
}
